// 自动生成模板OsBanner
package emotion_codesoe_com

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	
	
)

// osBanner表 结构体  OsBanner
type OsBanner struct {
      global.GVA_MODEL
      Title  string `json:"title" form:"title" gorm:"column:title;comment:标题;size:255;"binding:"required"`  //标题 
      Module  *int `json:"module" form:"module" gorm:"column:module;comment:模块;size:10;"binding:"required"`  //模块 
      Block  *int `json:"block" form:"block" gorm:"column:block;comment:版块;size:10;"binding:"required"`  //版块 
      Image  string `json:"image" form:"image" gorm:"column:image;comment:图片;size:255;"`  //图片 
      SkipMode  *int `json:"skipMode" form:"skipMode" gorm:"column:skip_mode;comment:跳转方式;size:10;"`  //跳转方式 
      SkipUrl  string `json:"skipUrl" form:"skipUrl" gorm:"column:skip_url;comment:跳转链接;size:255;"`  //跳转链接 
      Status  *bool `json:"status" form:"status" gorm:"column:status;comment:状态;"binding:"required"`  //状态 
}


// TableName osBanner表 OsBanner自定义表名 os_banner
func (OsBanner) TableName() string {
  return "os_banner"
}

